package com.example.lesson

import com.google.gson.reflect.TypeToken
import java.lang.reflect.Type

class LessonPresenter {

    companion object {
        private const val LESSON_PATH = "lessons"
    }

    private val lessons = ArrayList<Lesson>()
    private val type: Type = object : TypeToken<List<Lesson?>?>() {}.type


    fun showPlayback() {
        val filter = lessons.filter { lesson -> State.PLAYBACK == lesson.state }

    }

}